.all-container {
  position: relative;
  min-height: 100vh;
  // 默认左右布局
  //边栏
  .aside-container {
    width: @layout-sider-width;
    // *************************需要公共值******************************
    background: #293348;
    height: 100vh;
    overflow: auto;
    transition: width 0.28s;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 886;
    .logo-wrapper {
      position: relative;
      height: 64px;
      padding-left: 24px;
      overflow: hidden;
      transition: all 0.3s;
      line-height: 64px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      width: 100%;
      #logo {
        width: 2rem;
        height: 2rem;
        vertical-align: -0.15em;
        fill: currentColor;
        overflow: hidden;
        outline: 0;
        display: inline-block;
      }
      .logo-title {
        font-size: 14px;
        color: #fff;
        font-weight: 600;
        margin-left: 12px;
        display: inline-block;
      }
    }
    .ant-menu {
      // *************************需要公共值******************************
      background: #293348;
    }
    .ant-menu-inline.ant-menu-sub {
      // *************************需要公共值******************************
      background: #131d30 !important;
      box-shadow: none !important;
    }
    .svg-class {
      width: 1em;
      height: 1em;
      vertical-align: -0.15em;
      fill: currentColor;
      overflow: hidden;
      outline: 0;
    }
  }
  // 主内容
  .main-container {
    height: 100%;
    width: calc(100% - @layout-sider-width);
    margin-left: @layout-sider-width;

    .fixed-header {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 886;
      transition: width 0.28s;
      width: calc(100% - @layout-sider-width);
      & ~ .app-main {
        padding-top: 54px;
        min-height: 100vh;
      }
    }
    .paddingBox-container {
      min-height: calc(100vh - 54px);
    }
  }

  // 设置
  .setting-container {
    .right-panl {
      right: 1px;
      top: 300px;
      transform: translateY(-50%);
      width: 50px;
      height: 50px;
      color: #fff;
      background: #1890ff;
      border-radius: 6px 0 0 6px;
      text-align: center;
      line-height: 50px;
      font-size: 24px;
      z-index: 880;
      position: fixed;
    }
    .setting-box {
      .setting-con {
        transition: transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1), box-shadow 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
        width: 350px;
        height: 100vh;
        background: #fff;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 889;
        .setting-tit {
          padding: 16px 24px;
          border-bottom: 1px solid #e8e8e8;
          border-radius: 4px 4px 0 0;
          h3 {
            margin: 0;
            color: rgba(0, 0, 0, 0.85);
            font-weight: 500;
            font-size: 16px;
            line-height: 22px;
          }
          .anticon-close {
            position: absolute;
            top: 0;
            right: 0;
            z-index: 10;
            display: block;
            width: 56px;
            height: 56px;
            padding: 0;
            color: rgba(0, 0, 0, 0.45);
            font-weight: 700;
            font-size: 16px;
            font-style: normal;
            line-height: 56px;
            text-align: center;
            text-transform: none;
            text-decoration: none;
            background: transparent;
            border: 0;
            outline: 0;
            cursor: pointer;
            transition: color 0.3s;
            text-rendering: auto;
          }
        }

        .setting-lists {
          padding: 24px;
          font-size: 14px;
          line-height: 1.5;
          word-wrap: break-word;
          .item-setting {
            margin-bottom: 18px;
          }
        }
      }
      .setting-mask {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.45);
        transition: none;
        -webkit-animation: antdDrawerFadeIn 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
        animation: antdDrawerFadeIn 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
        z-index: 888;
      }
    }
  }
  .hasTag {
    .fixed-header {
      & ~ .app-main {
        padding-top: 100px !important;
        min-height: 100vh;
      }
    }
    .paddingBox-container {
      min-height: calc(100vh - 100px);
    }
  }

  &.closeSide {
    .aside-container {
      width: 80px;
    }
    .main-container {
      width: calc(100% - 80px);
      margin-left: 80px;
    }
    .fixed-header {
      width: calc(100% - 80px);
    }
    .horizontalSide-wrapper {
      .logo-title {
        display: inline-block !important;
      }
      .menu-title {
        display: inline-block !important;
      }
    }
    .logo-title {
      display: none !important;
    }
    .menu-title {
      display: none !important;
    }
  }

  .right-panl {
    right: 1px;
    top: 300px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    color: #fff;
    background: #1890ff;
    border-radius: 6px 0 0 6px;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    z-index: 999;
  }
  //水平布局
  &.horizontal {
    .aside-container {
      width: 0;
    }
    .horizontal-nav {
      background: #293348;
      color: #f1f1f1;
      height: 54px;
      line-height: 54px;
      .flex-sub {
        display: flex;
        .ant-menu-item {
          opacity: 1 !important;
          height: unset !important;
          display: inline-block;
          pointer-events: unset !important;
          position: unset !important;
        }
        .ant-menu-overflow-item {
          opacity: 1 !important;
          height: unset !important;
          display: inline-block;
          pointer-events: unset !important;
          position: unset !important;
        }
        .ant-menu-overflow-item-rest {
          opacity: 0 !important;
        }
      }
    }
    .main-container {
      width: 100%;
      margin-left: 0;
    }
    .fixed-header {
      width: 100%;
    }
    .nav-user {
      background: #293348;
    }
    .app-main {
      width: 100%;
      box-sizing: border-box;
      padding: 0 6%;
      // background: #f0f2f5;
    }
  }
}
.horizontal {
  .side-wrapper {
    display: flex;
    .logo-wrapper {
      height: 54px;
      line-height: 54px;
      min-width: 250px;
    }
    .side-main {
      height: 100%;
      flex: auto;
      color: #fff;
    }
    :deep .ant-menu-horizontal {
      height: 54px !important;
      line-height: 54px;
    }
  }
}
